const path = require('path');
const fs = require('fs');

const isfuwu = false;

let sslPath = isfuwu ? './ssl/ssl/' : './ssl/';

let sslOption = {
    key: fs.readFileSync(`${sslPath}2_cander0815.cn.key`),
    cert: fs.readFileSync(`${sslPath}1_cander0815.cn_bundle.crt`)
}
log.debug('get sll key', sslOption);
module.exports = {
  port: isfuwu ? 80 : 8899,
  staticPath: path.join(__dirname, './static'),
  webPath: path.join(__dirname, './webApp'),
  webType: 'jade',
  sslOption
}